package ru.spbau.design.snmp.android.viewer.model;

import java.util.ArrayList;
import java.util.List;

public final class Router {

	public Router(String description, Network network) {
		this.description = description; 
		this.network = network;
		this.interfaces = new ArrayList<NetInterface>();
	}

	public String getDescription() {
		return description;
	}
	
	public Network getNetwork() {
		return network;
	}

	public List<NetInterface> getInterfaces() { 
		return interfaces; 
	}

	public void addInterface(NetInterface interf) {
		interfaces.add(interf);
	}	
	
	private ArrayList<NetInterface> interfaces;
	private final String description;
	private final Network network;
}
